<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ page contentType="text/html; charset=iso-8859-1"%>
<html:html>
<head>
<title><bean:message key="Application.Name"/> ~ <bean:message key="Comment.Add.PageTitle"/></title>
<link href="<bean:write name="path"/>/css/estilos.css" rel="stylesheet" type="text/css"/>
<script language="javascript" src="<bean:write name="path"/>/js/util.js"></script>
<script language="javascript">
function fnc_validarForma( forma ){
	var bol_retVal = true;
	if(Trim(forma.str_comentario.value)==""){
		alert("<bean:message key="Application.Error"/> : - <bean:message key="Comment.Errors.CommentRequired"/>");
		bol_retVal = false;
	}
	return bol_retVal;
}
</script>
</head>
<body onload="self.focus();">
<html:form focus="str_comentario" action="actionComment.do" onsubmit="return fnc_validarForma(this);">
	<html:hidden property="service" value="guardarComentario"/>
	<html:hidden property="int_posicion"/>
	<table width="100%" border="0" cellspacing="1" cellpadding="0">
	  <tr>
		<td colspan="2" class="encabezadoTabla"><table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td width="30">&nbsp;<img src="<bean:write name="path"/>/images/img_loginFlecha.gif"></td>
							<td>&nbsp;&nbsp;<strong class="font_general"><bean:message key="Comment.Add.PageTitle"/></strong></td>
						  </tr>
				</table></td>
	  </tr>
	  <tr>
		<td width="25%" valign="top" class="font_general colorLabel">&nbsp;<bean:message key="CreatePriceRequest.MainTable.Comment"/> : </td>
		<td width="75%" class="font_general colorCampo">&nbsp;<html:textarea property="str_comentario" cols="35" rows="5" styleClass="textfield"></html:textarea></td>
	  </tr>
	  <tr>
		<td colspan="2" align="center" class="font_general impar"><html:submit property="btn_guardar" styleClass="boton"><bean:message key="Application.Save"/></html:submit></td>
	  </tr>
	</table>
</html:form>
</body>
</html:html>
